'use strict';

/**
 * 商城
 * StoreController
 * @constructor
 */
App.controller('StoreController', function($scope, $http, $ionicModal) {
	$scope.fetchGoodsList = function() {
        $http.get('Store/goodslist.json').success(function(goodsList){
            $scope.goodsList = goodsList;
            console.log("goodsList:"+goodsList);
        });
    };
    
    $scope.fetchGoodsList();
	
});


